/* latin-ext */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(../fonts/SourceCodePro-Regular.woff2) format('woff2');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(../fonts/SourceCodePro-Regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    color: white;
    font-family: "Source Code Pro","Microsoft JhengHei","Helvitica Neue",Helvitica,Arial,"Hiragino Sans GB",sans-serif;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.6);
    background: rgba(66, 183, 245, 0.8);
}

.main-container {
    position: relative;
    width: 600px;
    margin: 100px auto 10px;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

/* HEADER */
.main-container .header {
    position: relative;
    background: #4285F4;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(84, 84, 84, 0.2);
    -webkit-box-shadow: 0 1px 5px rgba(84, 84, 84, 0.2);
}

.main-container .header ul {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-container .header ul>li {
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}

.main-container .header ul>li>a {
    position: relative;
    display: block;
    box-sizing: border-box;
    padding: 15px 20px;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
}

.main-container .header .slider {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 72px;
    background: #F4B142;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.ripple {
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
}

.ripple-effect {
    -webkit-animation: rippleDrop .3s linear;
    animation: rippleDrop .3s linear;
}

@-webkit-keyframes rippleDrop {
    100% {
        -webkit-transform: scale(4);
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes rippleDrop {
    100% {
        -webkit-transform: scale(4);
        transform: scale(4);
        opacity: 0;
    }
}

/* CONTENT */
.main-container .content {
    position: relative;
    padding: 10% 15%;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    overflow: hidden;
}

.main-container .content .login-form {
    position: relative;
}

.main-container .content .login-form .form-group {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    font-size: 15px;
    color: #757e91;
}

.main-container .content .login-form .form-msg {
    margin-bottom: 20px;
    color: #ff5757;
}

.main-container .content .login-form .form-msg span {
    display: block;
}

.main-container .content .login-form .form-group .form-control {
    position: relative;
    display: block;
    z-index: 3;
    width: 100%;
    padding: 10px 0;
    color: #777;
    font-family: inherit;
    font-size: 17px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #c5c5c5;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.main-container .content .login-form .form-group .form-control:focus, .main-container .content .login-form .form-group .form-control:focus:valid {
    outline: none;
    color: #3498db;
    border-bottom: 1px solid #4285f4;
}

.main-container .content .login-form .form-group .form-control:valid {
    outline: none;
    color: #777;
    border-bottom: 1px solid #c5c5c5;
}

.main-container .content .login-form .form-group .form-label {
    position: absolute;
    z-index: 1;
    left: 10px;
    top: 11px;
    color: #a3a9b7;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.main-container .content .login-form .form-group .form-control:focus + .form-label, .main-container .content .login-form .form-group .form-control:valid + .form-label {
    left: 1px;
    font-size: 12px;
    -ms-transform: translateY(-23px);
    -webkit-transform: translateY(-23px);
    transform: translateY(-23px);
}

.main-container .content .login-form .form-group .form-control.error {
    color: #ff5757;
    border-bottom: 1px solid #ff5757;
}

.main-container .content .login-form .form-group .form-control.error + .form-label {
    color: #ff5757;
}

.main-container .content .login-form .form-btn {
    position: relative;
    display: block;
    padding: 10px 35px;
    color: #FFF;
    font-family: inherit;
    background: #2196f3;
    border: none;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12);
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    overflow: hidden;
}

.main-container .content .setting-form .setting-group {
    position: relative;
    display: block;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 25px;
    font-size: 15px;
    color: #757e91;
    overflow: hidden;
}

.main-container .content .setting-form .setting-group .setting-label {
    display: inline-block;
    float: left;
    width: 30%;
}

.main-container .content .setting-form .setting-group .setting-content {
    display: inline-block;
    width: 70%;
}

.main-container .content .setting-form .setting-group .setting-content ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.main-container .content .setting-form .setting-group .setting-content ul.color-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.main-container .content .setting-form .setting-group .setting-content ul.color-select > li {
    position: relative;
    display: inline-block;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 4px;
    border-radius: 50%;
    cursor: pointer;
}

.main-container .content .setting-form .setting-group .setting-content ul.color-select > li.active:after {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px;
    color: #ffffff;
    border-radius: 50%;
    text-shadow: rgba(0, 0, 0, 0.2) 0 2px 3px;
    content: "\f00c";
    font: normal normal normal 14px/1 FontAwesome;
    cursor: pointer;
}

.main-container .content .setting-form .setting-group .setting-content ul.font-size-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.main-container .content .setting-form .setting-group .setting-content ul.font-size-select li {
    position: relative;
    display: inline-block;
    margin-right: 60px;
    text-shadow: rgba(0, 0, 0, 0.117647) 0 1px 4px;
    cursor: pointer;
}

.main-container .content .setting-form .setting-group .setting-content ul.font-size-select li.active:after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 5px;
    width: 5px;
    height: 5px;
    background: #35aedc;
    border-radius: 50%;
    cursor: pointer;
}